package org.ffmmx.ybb.model;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.Collection;

public class Ok<T> extends Result<T> {
    public Ok() {

    }
    public Ok(T data) {
        super(data);
        this.code = 0;
        this.success = true;
    }

    public Ok(Collection<T> data) {
        super(data);
        this.code = 0;
        this.success = true;
    }
}
